public class FindMess {
    public static void main(String[] args) {
        String mess = "姓名:张三 出生时间:1989.10.16。 个人网站:https：//www.zhang.com。 身高:185cm，体重:72kg";
        int index = mess.indexOf(":");
        String name = mess.substring(index + 1);
        if(name.startsWith("张")){
            System.out.println("简历中的姓名性”张“");
        }
        index = mess.indexOf(":",index + 1);
        String date = mess.substring(index + 1,index + 11);
        System.out.println(date);
        index = mess.indexOf(":",index + 1);
        int heightPosition = index + 23;
        String personNet = mess.substring(index + 1,heightPosition - 1);
        System.out.println(personNet);
        index = mess.indexOf(":",index + 1);
        int cmPosition = mess.indexOf("cm");
        String height = mess.substring(index + 1,cmPosition);
        height= height.trim();
        int h = Integer.parseInt(height);
        if(h>=180){
            System.out.println("简历中的身稿"+height+"大于或等于180cm");
        }
        else{
            System.out.println("简历中的身稿"+height+"小于或等于180cm");
        }

        index = mess.indexOf(":",index + 1);
        int kgPosition = mess.indexOf("kg");
        String weight = mess.substring(index + 1,kgPosition);
        weight= weight.trim();
        int w = Integer.parseInt(weight);
        if(w>=75){
            System.out.println("简历中的体重"+weight+"大于或等于75kg");
        }
        else{
            System.out.println("简历中的身稿"+weight+"小于或等于75kg");
        }
    }
}
